<template>
  <div class="store_hp" v-if="item">
			<div class="hp_bottom">
					<tab>
						<tab-item>全部评论</tab-item>
					</tab>
				<div class="bott_comm_item" v-for="(i,index) in item" :key="index">
					<img :src="i.avatar" class="item_user_pho" />
					<div class="item_right">
					<div class="item_up">
						<div class="item_user_info">
							<div class="user_name">{{i.nickname}}</div>
							<div class="comm_star five">
                <rater v-model="i.star" slot="value" :font-size="18" disabled></rater>
              </div>
						</div>
						<div class="comm_time">{{i.createTime}}</div>
					</div>
					<div class="item_cont">{{i.statement}}</div>
					<div class="item_down">
						<!--图片评价 -->
					</div>
					</div>
				</div>
			</div>
		</div>
</template>
<script>
import {Rater, Tab, TabItem} from 'vux'
export default {
  components: {
    Rater,
		Tab,
		TabItem
	},
	created(){
		this.item = this.$route.query.item
	},
  data () {
    return{
			item: {}
    }
  }
}
</script>
